package com.unknown.dapp.uni.swap.log.dto;

import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.cloud.mybatisplus.annotation.Query;
import org.cloud.mybatisplus.annotation.Query.Type;

@NoArgsConstructor
@Data
public class TokenSwapQueryDTO {

    @ApiModelProperty("交易Hash")
    @Query
    private String transactionHash;
    @ApiModelProperty("交易队地址")
    @Query
    private String pairAddress;
    @ApiModelProperty("转入地址")
    @Query
    private String toAddress;
    @ApiModelProperty("转入地址")
    @Query(type = Type.UNIX_TIMESTAMP)
    private List<String> blockTimestamp;
    @ApiModelProperty("买/卖")
    @Query
    private Integer buyOrSale;
}
